package com.example.javaee_library.exception;/**
 * @author Miao-yongzheng
 * @create 2021-12-14 20:42
 */

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description:
 * @author: 34911
 * @time: 2021/12/14 20:42
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class NoBookException extends RuntimeException{
    private Integer code;
    private String msg;


    public NoBookException(String message) {
        super(message);
    }

    public NoBookException(String message, Throwable cause) {
        super(message, cause);
    }

    public NoBookException(Throwable cause) {
        super(cause);
    }

    public NoBookException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
